package com.jxd.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    @TableId(value = "empno")
    private int empno;
    private String name;
    private String password;
    private String sex;
    private String tel;

    public Employee(String name, String password, String sex, String tel) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.tel = tel;
    }
}
